package com.xforceplus.bsstool.config;

import com.google.common.collect.Lists;

import java.util.List;

public class ConfigMain {
  /** 遇到严重错误，是否停止执行*/
  public static boolean STOP_ON_ERROR = false;

  /** 最大协同供应商检测数量 */
  public static int MAX_COOP_SELLER_CHECK_NUM = 20000;

  /** 输出日志路径*/
  public static String LOG_PATH = "D:\\data\\bsstoollogs\\";
  public static int MAX_ERROR_LOG_COUNT = 10000;


  /** 新运营BSS数据库配置*/
  public static  String NEW_BSS_DB_URL = "jdbc:mysql://127.0.0.1:3306/tenant_center_prod";
  public static  String NEW_BSS_DB_USER_NAME = "root";
  public static  String NEW_BSS_DB_PASSWORD = "123456";
  /** 新运营UCENTER数据库配置*/
  public static  String NEW_UCENTER_DB_URL = "jdbc:mysql://127.0.0.1:3306/tenant_center_prod";
  public static  String NEW_UCENTER_DB_USER_NAME = "root";
  public static  String NEW_UCENTER_DB_PASSWORD = "123456";

  /** 老运营BSS数据库配置*/
  public static  String OLD_BSS_DB_URL = "jdbc:mysql://127.0.0.1:3306/bss-prod";
  public static  String OLD_BSS_DB_USER_NAME = "root";
  public static  String OLD_BSS_DB_PASSWORD = "123456";
  /** 老运营UCENTER数据库配置*/
  public static  String OLD_UCENTER_DB_URL = "jdbc:mysql://127.0.0.1:3306/ucenter-prod";
  public static  String OLD_UCENTER_DB_USER_NAME = "root";
  public static  String OLD_UCENTER_DB_PASSWORD = "123456";

  /** 协同产线功能集ID列表*/
  public static List<Long>  RESOURCE_SET_IDS = Lists.newArrayList(327L,323L,322L,321L,320L,319L,318L,317L,316L,315L
          ,314L,313L,312L,311L,310L,309L,308L,307L,306L,330L,334L,336L,340L,341L,343L,344L,346L,350L,362L
          ,361L,360L,359L,358L,357L,356L,354L,355L,353L,352L,351L,377L,376L,375L,374L);

  /** 协同产线购方租户CODE列表*/
  /**
   * group_id,group_name,group_code
   * 1145509380612673536,虚拟_上海云砺信息科技有限公司,ITLM8Abx
   * 4,性能测试专用进项集团,X3pSRxfl
   * 10,mcdctc,Wu1aL2kI
   * 14,协同进项集团,JrQj4ryk
   * 176,碧桂园,BGY
   * 178,华润万家,HRWJ
   * 182,万科,SC@vanke
   * 183,保利,SC@poly
   * 1227123362393432064,邦邦汽服,BBQF
   * 1227569885908508672,协同测试购方集团2,HrqzeEfD
   * 1193827904070045696,烽火通信,FHKJ
   * 1194915071999541248,协同测试购方集团,XTCSGFJT
   * 1199600109940854784,宁夏能源铝业有限公司,NXLY
   */
  public static List<Long>  PURCHASER_TENANT_IDS = Lists.newArrayList(
          1145509380612673536L,
          4L,
          10L,
          14L,
          176L,
          178L,
          182L,
          183L,
          1227123362393432064L,
          1227569885908508672L,
          1193827904070045696L,
          1194915071999541248L,
          1199600109940854784L);

  /** 协同产线APP_ID*/
  public static Long APP_ID = 90L;

}
